package cn.lds.j368.dsbank.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 地区表
 * </p>
 *
 * @author Christopher
 * @since 2023-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_province_city_district")
public class ProvinceCityDistrict implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 地区代码
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 当前地区的上一级地区代码
     */
    private Integer pid;

    /**
     * 地区名称
     */
    private String name;

    private String loanDesc;


}
